package com.example.demo;

import org.springframework.web.bind.annotation.CookieValue;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/user13")
@RestController
public class User13 {
    @RequestMapping("/getck")
    public String getCookie2(@CookieValue("qwer") String val) {
        return "Cookie的Value : " + val;
    }
}
